package com.yc.home.cloudindex.fegin;

import com.yc.bean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/9/6
 * Email haijunzhou@hnit.edu.cn
 */
@FeignClient(value="cloud-other",fallback = OtherActionImpl.class)
public interface OtherAction {

    @RequestMapping("doquestion/getweekordernum")
    Result getweekordernum(@RequestParam("id") String id);

    @RequestMapping("doquestion/getFiveQuestionall")
    Result getFiveQuestionall();

    @RequestMapping("doquestion/getFiveQuestion")
    Result getFiveQuestion();

}
